package com.hdoit.ares.logical.insu.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;

import com.tennetcn.common.dao.base.impl.SuperService;
import com.hdoit.ares.logical.insu.dao.IInsuranceInsurancePeopleDao;
import com.hdoit.ares.logical.insu.model.InsuranceInsurancePeople;
import com.hdoit.ares.logical.insu.service.IInsuranceInsurancePeopleService;
/**
 * @author      lvsi
 * @email       
 * @createtime  2017年12月13日 18:33:06
 * @comment
 */
@Component
public class InsuranceInsurancePeopleServiceImpl extends SuperService<InsuranceInsurancePeople> implements IInsuranceInsurancePeopleService{

	private IInsuranceInsurancePeopleDao insuranceInsurancepeopleDao;
	public IInsuranceInsurancePeopleDao getInsuranceInsurancepeopleDao() {
		return insuranceInsurancepeopleDao;
	}
	@Resource
	public void setInsuranceInsurancepeopleDao(IInsuranceInsurancePeopleDao insuranceInsurancepeopleDao) {
		this.insuranceInsurancepeopleDao = insuranceInsurancepeopleDao;
	}
	@Override
	public List<String> queryInsurancePeopleId(String insuranceId) {
		
		return insuranceInsurancepeopleDao.queryInsurancePeopleId(insuranceId);
	}
	@Override
	public int deleteInsurancePeople(String insuranceId) {
		
		return insuranceInsurancepeopleDao.deleteInsurancePeople(insuranceId);
	}

}